#include <iostream>
using namespace std;

int main() {
    char ch;
    int n;

    cout << "打印简图案\n";

    cout << "输入图案所用字符: ";
    cin >> ch;

    cout << "打印几行 1~20: ";
    cin >> n;

    for (int i = 1; i <= n; i++) {
        for (int j = 0; j < i; j++) {
            cout << ch;
        }
        cout << "\n";
    }
    cout << "图案真漂亮\n";
}